import { ref } from 'vue';

export const alertData=()=>
{
   const isAlert =ref(false);
   const open=()=>
   {
     isAlert.value=true;
     console.log(isAlert.value)
   }
   const close =()=>
   {
      isAlert.value=false;
   }
   return{isAlert,open,close}

}